package com.gljx.web.service;

import com.gljx.web.Entity.MaintainItemAdd;
import com.gljx.web.Entity.MaintainItemAddEntry;
import com.gljx.web.Entity.User;

import java.util.List;
import java.util.Map;

public interface MaintainItemAddService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<MaintainItemAddEntry> queryMaintainItemAddEntry(String fparentId,String name,String carNumber);

	void editMaintainItemAdd(MaintainItemAdd maintainItemAdd, String[] fseq, String[] cfminame, String[] carfnumber,
			String[] carid, String[] cfmibxq, String[] cfmigs, String[] cfmidj, String[] cfmims, User user,
			String time);
	
	MaintainItemAdd queryMaintainItemAddByFid(String fid);

    void deleteMaintainItemAddByFid(User user,String fid, String[] deleteId, String[] fnumber, String fnumber2);

    int auditMaintainItemAdd(User user,String fid, String type, String fhandlerId, String fnumber, String message, String state, String auditState);

    int modifyMaintainItemAdd(MaintainItemAdd maintainItemAdd);

    List<MaintainItemAddEntry> selectMaintainItemAddByInfo(String fcompanyid, String name, String carNumber, String beginTime, String endTime, String fnumber);
}
